package band.wukong.practice.webservice.kh.sample02;

import javax.jws.WebService;
import java.util.Date;

/**
 * As you see...
 *
 * @author wukong(wukonggg@139.com)
 */
@WebService(endpointInterface = "band.wukong.practice.webservice.kh.sample02.SomebodyService")
public class SomebodyServiceImpl implements SomebodyService {

    public String sing(String lyric) {
        return lyric;
    }

    public String dream(String visions) {
        return visions;
    }

    public Band bandInfo(String name, String style) {
        return new Band(name, style);
    }

    @Override
    public Date now() {
        return new Date();
    }

}
